arr = input("")
print(all([arr]))